/**
 * Copyright &copy; 2020 <a href="https://github.com/somowhere/exam-system">exam-system</a> All rights reserved.
 */
package com.shanhesoft.java.modules.exam.domain;

import lombok.*;
import com.baomidou.mybatisplus.annotation.*;
import com.shanhesoft.java.common.core.annotation.DictType;
import com.shanhesoft.java.common.persistence.domain.IdEntity;

import javax.validation.constraints.Size;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.*;

/**
 * 课程实训题目管理Entity 课程实训题目管理
 * @author admin
 * @version 2020-11-17 01:03:46
 */
@TableName(value = "t_virtual_training_detail")
@Data @ToString @NoArgsConstructor @AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class VirtualTrainingDetail extends IdEntity<VirtualTrainingDetail> {

	private static final long serialVersionUID = 1L;
	/** F_TRAINID train_id  :  实训编号 */
	public static final String F_TRAINID = "trainId";
	/** F_TRAINQUEID train_que_id  :  实验编号 */
	public static final String F_TRAINQUEID = "trainQueId";
	/** F_SORT sort  :  排序 */
	public static final String F_SORT = "sort";


	/** trainId 实训编号 */@NotBlank @Size(max=50)
	@TableField("train_id")
	private String trainId;
	/** trainQueId 实验编号 */@NotBlank @Size(max=50)
	@TableField("train_que_id")
	private String trainQueId;
	/** sort 排序 */@NotNull

	private Integer sort;


	@Override
    public boolean equals(Object o) {
        return super.equals(o);
    }
    @Override
    public int hashCode() {
        return super.hashCode();
    }
}
